home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Tele / Q-S / SetSoundVol.sit / SetSoundVol < prev   
MacBinary  |  1991-03-03  |  5.4 KB  |  [TEXT/MACA]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: SetSoundVol

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Mar 3 19:48:21 1991, modified Sun Mar 3 19:48:21 1991, creator MacWrite, type ASCII, 4008 bytes "SetSoundVol" , at 0x1028 1214 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MACA]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 53 65 74 53 6f 75 | 6e 64 56 6f 6c 00 00 00 |..SetSou|ndVol...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 41 43 | 41 00 00 00 00 00 00 00 |.TEXTMAC|A.......|
|00000050| 00 00 00 00 00 0f a8 00 | 00 04 be a3 f7 49 d5 a3 |........|.....I..|
|00000060| f7 49 d5 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.I......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 8e 1f 00 00 |........|........|
|00000080| 28 20 53 65 74 53 6f 75 | 6e 64 56 6f 6c 20 2d 20 |( SetSou|ndVol - |
|00000090| 57 68 69 74 65 20 4b 6e | 69 67 68 74 20 70 72 6f |White Kn|ight pro|
|000000a0| 63 65 64 75 72 65 20 61 | 6e 64 20 52 43 4d 44 0d |cedure a|nd RCMD.|
|000000b0| 28 20 74 6f 20 73 65 74 | 20 74 68 65 20 4d 61 63 |( to set| the Mac|
|000000c0| 69 6e 74 6f 73 68 20 73 | 70 65 61 6b 65 72 20 76 |intosh s|peaker v|
|000000d0| 6f 6c 75 6d 65 0d 0d 28 | 20 54 68 69 73 20 61 62 |olume..(| This ab|
|000000e0| 73 6f 6c 75 74 65 6c 79 | 20 73 69 6d 70 6c 65 20 |solutely| simple |
|000000f0| 61 6e 64 20 6d 69 6e 64 | 6c 65 73 73 20 3a 2d 29 |and mind|less :-)|
|00000100| 20 70 72 6f 63 65 64 75 | 72 65 20 73 65 74 73 20 | procedu|re sets |
|00000110| 74 68 65 20 73 70 65 61 | 6b 65 72 0d 28 20 76 6f |the spea|ker.( vo|
|00000120| 6c 75 6d 65 20 6c 65 76 | 65 6c 2e 20 20 49 74 20 |lume lev|el. It |
|00000130| 61 6c 73 6f 20 72 65 74 | 75 72 6e 73 20 74 68 65 |also ret|urns the|
|00000140| 20 70 72 65 76 69 6f 75 | 73 20 73 70 65 61 6b 65 | previou|s speake|
|00000150| 72 20 76 6f 6c 75 6d 65 | 20 6c 65 76 65 6c 2e 0d |r volume| level..|
|00000160| 28 20 49 20 77 72 6f 74 | 65 20 74 68 69 73 20 62 |( I wrot|e this b|
|00000170| 65 63 61 75 73 65 20 49 | 20 77 61 6e 74 65 64 20 |ecause I| wanted |
|00000180| 74 6f 20 6b 65 65 70 20 | 6d 79 20 73 70 65 61 6b |to keep |my speak|
|00000190| 65 72 20 76 6f 6c 75 6d | 65 20 73 65 74 20 61 74 |er volum|e set at|
|000001a0| 20 30 0d 28 20 28 66 6c | 61 73 68 69 6e 67 20 6d | 0.( (fl|ashing m|
|000001b0| 65 6e 75 20 62 61 72 20 | 6f 6e 6c 79 29 20 64 75 |enu bar |only) du|
|000001c0| 72 69 6e 67 20 6d 6f 73 | 74 20 6f 70 65 72 61 74 |ring mos|t operat|
|000001d0| 69 6f 6e 73 2c 20 62 75 | 74 20 77 61 6e 74 65 64 |ions, bu|t wanted|
|000001e0| 20 74 6f 0d 28 20 6f 63 | 63 61 73 69 6f 6e 61 6c | to.( oc|casional|
|000001f0| 6c 79 20 73 65 74 20 74 | 68 65 20 73 70 65 61 6b |ly set t|he speak|
|00000200| 65 72 20 76 6f 6c 75 6d | 65 20 74 6f 20 61 20 68 |er volum|e to a h|
|00000210| 69 67 68 65 72 20 6c 65 | 76 65 6c 20 74 6f 20 61 |igher le|vel to a|
|00000220| 6c 65 72 74 20 6d 65 20 | 77 68 65 6e 0d 28 20 49 |lert me |when.( I|
|00000230| 20 77 61 73 20 61 77 61 | 79 20 66 72 6f 6d 20 74 | was awa|y from t|
|00000240| 68 65 20 63 6f 6d 70 75 | 74 65 72 20 77 68 69 6c |he compu|ter whil|
|00000250| 65 20 77 61 69 74 69 6e | 67 20 66 6f 72 20 61 20 |e waitin|g for a |
|00000260| 6c 6f 6e 67 20 64 6f 77 | 6e 6c 6f 61 64 69 6e 67 |long dow|nloading|
|00000270| 0d 28 20 73 65 73 73 69 | 6f 6e 20 74 6f 20 66 69 |.( sessi|on to fi|
|00000280| 6e 69 73 68 20 6f 72 20 | 77 68 69 6c 65 20 77 61 |nish or |while wa|
|00000290| 69 74 69 6e 67 20 74 6f | 20 6c 6f 67 20 69 6e 74 |iting to| log int|
|000002a0| 6f 20 61 20 62 75 73 79 | 20 42 42 53 20 6f 72 20 |o a busy| BBS or |
|000002b0| 63 61 6d 70 75 73 0d 28 | 20 63 6f 6d 70 75 74 65 |campus.(| compute|
|000002c0| 72 20 73 79 73 74 65 6d | 2e 0d 0d 28 20 2d 2d 2d |r system|...( ---|
|000002d0| 2d 2d 0d 0d 28 20 4e 4f | 54 45 3a 0d 0d 28 20 54 |--..( NO|TE:..( T|
|000002e0| 68 69 73 20 74 65 78 74 | 20 66 69 6c 65 20 63 6f |his text| file co|
|000002f0| 6e 74 61 69 6e 73 20 61 | 6e 20 52 43 4d 44 20 72 |ntains a|n RCMD r|
|00000300| 65 73 6f 75 72 63 65 20 | 69 6e 20 69 74 73 20 72 |esource |in its r|
|00000310| 65 73 6f 75 72 63 65 20 | 66 6f 72 6b 2e 0d 28 20 |esource |fork..( |
|00000320| 4d 61 6b 65 20 61 20 62 | 61 63 6b 75 70 20 63 6f |Make a b|ackup co|
|00000330| 70 79 20 6f 66 20 74 68 | 69 73 20 66 69 6c 65 20 |py of th|is file |
|00000340| 62 65 66 6f 72 65 20 65 | 64 69 74 69 6e 67 20 69 |before e|diting i|
|00000350| 74 20 77 69 74 68 20 61 | 6e 79 0d 28 20 74 65 78 |t with a|ny.( tex|
|00000360| 74 20 65 64 69 74 6f 72 | 20 6f 72 20 77 6f 72 64 |t editor| or word|
|00000370| 20 70 72 6f 63 65 73 73 | 6f 72 20 77 68 69 63 68 | process|or which|
|00000380| 20 72 65 6d 6f 76 65 73 | 20 74 68 65 20 72 65 73 | removes| the res|
|00000390| 6f 75 72 63 65 20 66 6f | 72 6b 0d 28 20 66 72 6f |ource fo|rk.( fro|
|000003a0| 6d 20 74 65 78 74 20 66 | 69 6c 65 73 20 69 6e 20 |m text f|iles in |
|000003b0| 74 68 65 20 70 72 6f 63 | 65 73 73 20 6f 66 20 73 |the proc|ess of s|
|000003c0| 61 76 69 6e 67 20 74 68 | 65 6d 2e 0d 0d 28 20 41 |aving th|em...( A|
|000003d0| 20 63 6f 6d 70 69 6c 65 | 64 20 63 6f 70 79 20 6f | compile|d copy o|
|000003e0| 66 20 74 68 65 20 70 72 | 6f 63 65 64 75 72 65 20 |f the pr|ocedure |
|000003f0| 62 65 6c 6f 77 20 69 73 | 20 70 72 6f 76 69 64 65 |below is| provide|
|00000400| 64 20 61 73 20 74 68 65 | 0d 28 20 66 69 6c 65 2c |d as the|.( file,|
|00000410| 20 22 53 65 74 53 6f 75 | 6e 64 56 6f 6c 2e 50 52 | "SetSou|ndVol.PR|
|00000420| 4f 43 2e 22 20 20 54 68 | 69 73 20 74 65 78 74 20 |OC." Th|is text |
|00000430| 66 69 6c 65 2c 20 22 53 | 65 74 53 6f 75 6e 64 56 |file, "S|etSoundV|
|00000440| 6f 6c 22 2c 20 69 73 0d | 28 20 74 68 65 20 73 6f |ol", is.|( the so|
|00000450| 75 72 63 65 20 66 69 6c | 65 20 66 72 6f 6d 20 77 |urce fil|e from w|
|00000460| 68 69 63 68 20 57 68 69 | 74 65 20 4b 6e 69 67 68 |hich Whi|te Knigh|
|00000470| 74 20 67 65 6e 65 72 61 | 74 65 64 20 74 68 61 74 |t genera|ted that|
|00000480| 20 63 6f 6d 70 69 6c 65 | 64 20 70 72 6f 63 65 64 | compile|d proced|
|00000490| 75 72 65 2e 20 0d 0d 28 | 20 2d 2d 2d 2d 2d 0d 0d |ure. ..(| -----..|
|000004a0| 28 20 53 55 4d 4d 41 52 | 59 3a 0d 0d 28 20 53 65 |( SUMMAR|Y:..( Se|
|000004b0| 74 73 20 74 68 65 20 73 | 70 65 61 6b 65 72 20 76 |ts the s|peaker v|
|000004c0| 6f 6c 75 6d 65 20 74 6f | 20 74 68 65 20 76 61 6c |olume to| the val|
|000004d0| 75 65 20 6f 66 20 74 68 | 65 20 76 61 72 69 61 62 |ue of th|e variab|
|000004e0| 6c 65 20 53 39 25 2e 0d | 28 20 52 65 74 75 72 6e |le S9%..|( Return|
|000004f0| 73 20 74 68 65 20 70 72 | 65 76 69 6f 75 73 20 73 |s the pr|evious s|
|00000500| 70 65 61 6b 65 72 20 76 | 6f 6c 75 6d 65 20 69 6e |peaker v|olume in|
|00000510| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 53 38 | the var|iable S8|
|00000520| 25 2e 0d 0d 28 20 52 65 | 74 75 72 6e 73 20 61 20 |%...( Re|turns a |
|00000530| 72 65 73 75 6c 74 20 63 | 6f 64 65 20 69 6e 20 74 |result c|ode in t|
|00000540| 68 65 20 76 61 72 69 61 | 62 6c 65 20 53 37 25 3a |he varia|ble S7%:|
|00000550| 0d 28 20 20 20 30 20 20 | 69 66 20 74 68 65 20 73 |.( 0 |if the s|
|00000560| 70 65 61 6b 65 72 20 76 | 6f 6c 75 6d 65 20 77 61 |peaker v|olume wa|
|00000570| 73 20 73 75 63 63 65 73 | 73 66 75 6c 6c 79 20 73 |s succes|sfully s|
|00000580| 65 74 20 74 6f 20 74 68 | 65 20 6e 65 77 20 6c 65 |et to th|e new le|
|00000590| 76 65 6c 2e 0d 28 20 20 | 2d 31 20 20 69 66 20 74 |vel..( |-1 if t|
|000005a0| 68 65 20 73 70 65 61 6b | 65 72 20 76 6f 6c 75 6d |he speak|er volum|
|000005b0| 65 20 63 6f 75 6c 64 20 | 6e 6f 74 20 62 65 20 73 |e could |not be s|
|000005c0| 65 74 20 74 6f 20 74 68 | 65 20 72 65 71 75 65 73 |et to th|e reques|
|000005d0| 74 65 64 20 6c 65 76 65 | 6c 2e 0d 28 20 20 20 20 |ted leve|l..( |
|000005e0| 20 20 28 54 68 69 73 20 | 77 6f 75 6c 64 20 65 69 | (This |would ei|
|000005f0| 74 68 65 72 20 62 65 20 | 64 75 65 20 74 6f 20 74 |ther be |due to t|
|00000600| 68 65 20 73 70 65 61 6b | 65 72 20 76 6f 6c 75 6d |he speak|er volum|
|00000610| 65 20 72 65 71 75 65 73 | 74 65 64 20 62 65 69 6e |e reques|ted bein|
|00000620| 67 0d 28 20 20 20 20 20 | 20 6f 75 74 73 69 64 65 |g.( | outside|
|00000630| 20 74 68 65 20 70 65 72 | 6d 69 73 73 69 62 6c 65 | the per|missible|
|00000640| 20 72 61 6e 67 65 20 6f | 66 20 30 20 74 6f 20 37 | range o|f 0 to 7|
|00000650| 2c 20 6f 72 20 69 66 20 | 66 6f 72 20 73 6f 6d 65 |, or if |for some|
|00000660| 20 72 65 61 73 6f 6e 0d | 28 20 20 20 20 20 20 53 | reason.|( S|
|00000670| 65 74 53 6f 75 6e 64 56 | 6f 6c 20 66 61 69 6c 65 |etSoundV|ol faile|
|00000680| 64 20 74 6f 20 63 68 61 | 6e 67 65 20 74 68 65 20 |d to cha|nge the |
|00000690| 73 70 65 61 6b 65 72 20 | 76 6f 6c 75 6d 65 2e 29 |speaker |volume.)|
|000006a0| 0d 28 20 2d 38 37 20 20 | 69 66 20 74 68 65 20 73 |.( -87 |if the s|
|000006b0| 70 65 61 6b 65 72 20 76 | 6f 6c 75 6d 65 20 63 6f |peaker v|olume co|
|000006c0| 75 6c 64 20 6e 6f 74 20 | 62 65 20 73 75 63 63 65 |uld not |be succe|
|000006d0| 73 73 66 75 6c 6c 79 20 | 77 72 69 74 74 65 6e 20 |ssfully |written |
|000006e0| 74 6f 0d 28 20 20 20 20 | 20 20 70 61 72 61 6d 65 |to.( | parame|
|000006f0| 74 65 72 20 52 41 4d 20 | 28 50 52 41 4d 29 20 28 |ter RAM |(PRAM) (|
|00000700| 69 2e 65 2e 20 63 6f 75 | 6c 64 20 6e 6f 74 20 62 |i.e. cou|ld not b|
|00000710| 65 20 72 65 61 64 2d 76 | 65 72 69 66 69 65 64 29 |e read-v|erified)|
|00000720| 2e 0d 0d 28 20 54 68 69 | 73 20 70 72 6f 63 65 64 |...( Thi|s proced|
|00000730| 75 72 65 20 2a 69 6e 73 | 69 73 74 73 2a 20 6f 6e |ure *ins|ists* on|
|00000740| 20 75 73 69 6e 67 20 74 | 68 65 73 65 20 73 70 65 | using t|hese spe|
|00000750| 63 69 66 69 63 20 76 61 | 72 69 61 62 6c 65 73 2d |cific va|riables-|
|00000760| 2d 53 37 25 2c 20 53 38 | 25 2c 0d 28 20 61 6e 64 |-S7%, S8|%,.( and|
|00000770| 20 53 39 25 2e 20 20 49 | 66 20 79 6f 75 20 68 61 | S9%. I|f you ha|
|00000780| 76 65 20 61 6e 79 20 76 | 61 6c 75 65 73 20 73 65 |ve any v|alues se|
|00000790| 74 20 66 6f 72 20 74 68 | 65 20 76 61 72 69 61 62 |t for th|e variab|
|000007a0| 6c 65 73 20 53 37 25 20 | 61 6e 64 20 53 38 25 0d |les S7% |and S8%.|
|000007b0| 28 20 62 65 66 6f 72 65 | 20 63 61 6c 6c 69 6e 67 |( before| calling|
|000007c0| 20 74 68 69 73 20 70 72 | 6f 63 65 64 75 72 65 2c | this pr|ocedure,|
|000007d0| 20 74 68 65 79 20 61 72 | 65 20 6c 69 6b 65 6c 79 | they ar|e likely|
|000007e0| 20 74 6f 20 62 65 20 63 | 68 61 6e 67 65 64 20 61 | to be c|hanged a|
|000007f0| 66 74 65 72 77 61 72 64 | 73 2e 20 0d 0d 28 20 49 |fterward|s. ..( I|
|00000800| 74 20 69 73 20 67 6f 6f | 64 20 70 72 61 63 74 69 |t is goo|d practi|
|00000810| 63 65 20 74 6f 20 72 65 | 74 75 72 6e 20 74 68 65 |ce to re|turn the|
|00000820| 20 73 70 65 61 6b 65 72 | 20 76 6f 6c 75 6d 65 20 | speaker| volume |
|00000830| 74 6f 20 69 74 73 20 70 | 72 65 76 69 6f 75 73 20 |to its p|revious |
|00000840| 6c 65 76 65 6c 0d 28 20 | 61 66 74 65 72 20 79 6f |level.( |after yo|
|00000850| 75 20 68 61 76 65 20 66 | 69 6e 69 73 68 65 64 20 |u have f|inished |
|00000860| 74 61 6b 69 6e 67 20 61 | 64 76 61 6e 74 61 67 65 |taking a|dvantage|
|00000870| 20 6f 66 20 74 68 65 20 | 6e 65 77 20 73 70 65 61 | of the |new spea|
|00000880| 6b 65 72 20 76 6f 6c 75 | 6d 65 0d 28 20 69 6e 20 |ker volu|me.( in |
|00000890| 79 6f 75 72 20 70 72 6f | 63 65 64 75 72 65 73 2e |your pro|cedures.|
|000008a0| 0d 0d 28 20 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |..( The |followin|
|000008b0| 67 20 69 73 20 6f 6e 65 | 20 65 78 61 6d 70 6c 65 |g is one| example|
|000008c0| 20 6f 66 20 68 6f 77 20 | 79 6f 75 20 6d 69 67 68 | of how |you migh|
|000008d0| 74 20 63 61 6c 6c 20 74 | 68 69 73 20 70 72 6f 63 |t call t|his proc|
|000008e0| 65 64 75 72 65 0d 28 20 | 66 72 6f 6d 20 79 6f 75 |edure.( |from you|
|000008f0| 72 20 6f 77 6e 20 57 68 | 69 74 65 20 4b 6e 69 67 |r own Wh|ite Knig|
|00000900| 68 74 20 70 72 6f 63 65 | 64 75 72 65 73 2e 20 20 |ht proce|dures. |
|00000910| 28 53 75 62 73 74 69 74 | 75 74 65 20 74 68 65 20 |(Substit|ute the |
|00000920| 66 75 6c 6c 20 70 61 74 | 68 6e 61 6d 65 0d 28 20 |full pat|hname.( |
|00000930| 74 6f 20 74 68 69 73 20 | 66 69 6c 65 2c 20 6f 72 |to this |file, or|
|00000940| 20 74 68 65 20 70 61 74 | 68 6e 61 6d 65 20 66 72 | the pat|hname fr|
|00000950| 6f 6d 20 74 68 65 20 66 | 6f 6c 64 65 72 20 77 68 |om the f|older wh|
|00000960| 65 72 65 20 57 68 69 74 | 65 20 4b 6e 69 67 68 74 |ere Whit|e Knight|
|00000970| 20 69 73 0d 28 20 6c 6f | 63 61 74 65 64 2c 20 66 | is.( lo|cated, f|
|00000980| 6f 72 20 65 76 65 72 79 | 20 69 6e 73 74 61 6e 63 |or every| instanc|
|00000990| 65 20 6f 66 20 22 50 61 | 74 68 74 6f 53 65 74 53 |e of "Pa|thtoSetS|
|000009a0| 6f 75 6e 64 56 6f 6c 66 | 69 6c 65 22 20 62 65 6c |oundVolf|ile" bel|
|000009b0| 6f 77 2e 29 3a 0d 0d 28 | 20 20 20 2d 2d 2d 20 49 |ow.):..(| --- I|
|000009c0| 6e 73 65 72 74 20 63 6f | 6d 6d 61 6e 64 73 20 6c |nsert co|mmands l|
|000009d0| 69 6b 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ike the |followin|
|000009e0| 67 20 69 6e 74 6f 20 79 | 6f 75 72 20 6f 77 6e 20 |g into y|our own |
|000009f0| 70 72 6f 63 65 64 75 72 | 65 73 3a 20 2d 2d 2d 0d |procedur|es: ---.|
|00000a00| 0d 28 20 20 20 28 20 43 | 68 61 6e 67 65 20 74 68 |.( ( C|hange th|
|00000a10| 65 20 73 70 65 61 6b 65 | 72 20 76 6f 6c 75 6d 65 |e speake|r volume|
|00000a20| 20 74 6f 20 35 20 62 79 | 20 70 75 74 74 69 6e 67 | to 5 by| putting|
|00000a30| 20 74 68 69 73 20 76 61 | 6c 75 65 0d 28 20 20 20 | this va|lue.( |
|00000a40| 28 20 69 6e 74 6f 20 53 | 39 25 20 61 6e 64 20 63 |( into S|9% and c|
|00000a50| 61 6c 6c 69 6e 67 20 74 | 68 65 20 6e 65 73 74 65 |alling t|he neste|
|00000a60| 64 20 70 72 6f 63 65 64 | 75 72 65 2c 20 53 65 74 |d proced|ure, Set|
|00000a70| 53 6f 75 6e 64 56 6f 6c | 2e 0d 28 20 20 20 4c 45 |SoundVol|..( LE|
|00000a80| 54 20 45 51 55 41 4c 20 | 53 39 25 2c 35 0d 28 20 |T EQUAL |S9%,5.( |
|00000a90| 20 20 4e 45 53 54 20 50 | 61 74 68 74 6f 53 65 74 | NEST P|athtoSet|
|00000aa0| 53 6f 75 6e 64 56 6f 6c | 66 69 6c 65 3a 53 65 74 |SoundVol|file:Set|
|00000ab0| 53 6f 75 6e 64 56 6f 6c | 2e 50 52 4f 43 0d 0d 28 |SoundVol|.PROC..(|
|00000ac0| 20 20 20 28 20 4d 61 6b | 65 20 73 6f 6d 65 20 6e | ( Mak|e some n|
|00000ad0| 6f 69 73 65 2c 20 75 73 | 69 6e 67 20 74 68 65 20 |oise, us|ing the |
|00000ae0| 6e 65 77 20 73 70 65 61 | 6b 65 72 20 76 6f 6c 75 |new spea|ker volu|
|00000af0| 6d 65 2e 0d 28 20 20 20 | 42 45 4c 4c 0d 28 20 20 |me..( |BELL.( |
|00000b00| 20 42 45 4c 4c 0d 0d 28 | 20 20 20 28 20 52 65 74 | BELL..(| ( Ret|
|00000b10| 75 72 6e 20 74 68 65 20 | 73 70 65 61 6b 65 72 20 |urn the |speaker |
|00000b20| 76 6f 6c 75 6d 65 20 74 | 6f 20 69 74 73 20 70 72 |volume t|o its pr|
|00000b30| 65 76 69 6f 75 73 20 6c | 65 76 65 6c 2c 0d 28 20 |evious l|evel,.( |
|00000b40| 20 20 28 20 77 68 69 63 | 68 20 77 61 73 20 72 65 | ( whic|h was re|
|00000b50| 74 75 72 6e 65 64 20 69 | 6e 20 53 38 25 2e 0d 28 |turned i|n S8%..(|
|00000b60| 20 20 20 4c 45 54 20 45 | 51 55 41 4c 20 53 39 25 | LET E|QUAL S9%|
|00000b70| 2c 53 38 25 0d 28 20 20 | 20 4e 45 53 54 20 50 61 |,S8%.( | NEST Pa|
|00000b80| 74 68 74 6f 53 65 74 53 | 6f 75 6e 64 56 6f 6c 66 |thtoSetS|oundVolf|
|00000b90| 69 6c 65 3a 53 65 74 53 | 6f 75 6e 64 56 6f 6c 2e |ile:SetS|oundVol.|
|00000ba0| 50 52 4f 43 0d 0d 28 20 | 2d 2d 2d 2d 2d 0d 0d 28 |PROC..( |-----..(|
|00000bb0| 20 43 4f 50 59 52 49 47 | 48 54 20 41 4e 44 20 44 | COPYRIG|HT AND D|
|00000bc0| 49 53 43 4c 41 49 4d 45 | 52 0d 0d 28 20 43 6f 70 |ISCLAIME|R..( Cop|
|00000bd0| 79 72 69 67 68 74 20 a9 | 31 39 39 31 20 62 79 20 |yright .|1991 by |
|00000be0| 41 72 6f 6e 20 52 6f 62 | 65 72 74 73 2e 0d 28 20 |Aron Rob|erts..( |
|00000bf0| 4d 61 79 20 62 65 20 66 | 72 65 65 6c 79 20 64 69 |May be f|reely di|
|00000c00| 73 74 72 69 62 75 74 65 | 64 20 61 6e 64 20 75 73 |stribute|d and us|
|00000c10| 65 64 20 66 6f 72 20 61 | 6e 79 20 6e 6f 6e 2d 63 |ed for a|ny non-c|
|00000c20| 6f 6d 6d 65 72 63 69 61 | 6c 20 61 6e 64 0d 28 20 |ommercia|l and.( |
|00000c30| 63 6f 6d 6d 65 72 63 69 | 61 6c 20 70 75 72 70 6f |commerci|al purpo|
|00000c40| 73 65 73 2e 20 20 49 66 | 20 79 6f 75 20 6d 6f 64 |ses. If| you mod|
|00000c50| 69 66 79 20 74 68 69 73 | 20 52 43 4d 44 20 6f 72 |ify this| RCMD or|
|00000c60| 20 70 72 6f 63 65 64 75 | 72 65 20 61 6e 64 0d 28 | procedu|re and.(|
|00000c70| 20 64 69 73 74 72 69 62 | 75 74 65 20 74 68 65 20 | distrib|ute the |
|00000c80| 6d 6f 64 69 66 69 65 64 | 20 76 65 72 73 69 6f 6e |modified| version|
|00000c90| 2c 20 70 6c 65 61 73 65 | 20 61 64 64 20 79 6f 75 |, please| add you|
|00000ca0| 72 20 6f 77 6e 20 6e 61 | 6d 65 20 74 6f 0d 28 20 |r own na|me to.( |
|00000cb0| 74 68 65 20 6d 6f 64 69 | 66 69 65 64 20 63 6f 70 |the modi|fied cop|
|00000cc0| 69 65 73 2e 0d 0d 28 20 | 54 65 73 74 65 64 20 6f |ies...( |Tested o|
|00000cd0| 6e 6c 79 20 6f 6e 20 61 | 20 4d 61 63 20 49 49 63 |nly on a| Mac IIc|
|00000ce0| 78 20 75 73 69 6e 67 20 | 53 79 73 74 65 6d 20 36 |x using |System 6|
|00000cf0| 2e 30 2e 37 20 61 6e 64 | 20 6f 6e 65 20 73 70 65 |.0.7 and| one spe|
|00000d00| 63 69 66 69 63 0d 28 20 | 73 65 74 20 6f 66 20 49 |cific.( |set of I|
|00000d10| 4e 49 54 73 2c 20 73 6f | 20 75 73 65 20 61 74 20 |NITs, so| use at |
|00000d20| 79 6f 75 72 20 6f 77 6e | 20 72 69 73 6b 2e 20 20 |your own| risk. |
|00000d30| 54 68 69 73 20 52 43 4d | 44 20 64 6f 65 73 20 6e |This RCM|D does n|
|00000d40| 6f 74 20 74 72 79 0d 28 | 20 74 6f 20 64 6f 20 61 |ot try.(| to do a|
|00000d50| 6e 79 74 68 69 6e 67 20 | 61 6d 62 69 74 69 6f 75 |nything |ambitiou|
|00000d60| 73 2c 20 68 6f 77 65 76 | 65 72 2c 20 73 6f 20 74 |s, howev|er, so t|
|00000d70| 68 65 20 72 69 73 6b 20 | 73 68 6f 75 6c 64 20 62 |he risk |should b|
|00000d80| 65 20 6d 69 6e 69 6d 61 | 6c 2e 20 0d 0d 28 20 50 |e minima|l. ..( P|
|00000d90| 6c 65 61 73 65 20 73 65 | 6e 64 20 62 75 67 20 72 |lease se|nd bug r|
|00000da0| 65 70 6f 72 74 73 2c 20 | 73 75 67 67 65 73 74 69 |eports, |suggesti|
|00000db0| 6f 6e 73 20 66 6f 72 20 | 65 6e 68 61 6e 63 65 6d |ons for |enhancem|
|00000dc0| 65 6e 74 73 20 74 6f 3a | 0d 28 20 50 72 65 66 65 |ents to:|.( Prefe|
|00000dd0| 72 72 65 64 20 61 64 64 | 72 65 73 73 65 73 3a 0d |rred add|resses:.|
|00000de0| 28 20 49 6e 74 65 72 6e | 65 74 3a 20 61 72 6f 6e |( Intern|et: aron|
|00000df0| 40 67 61 72 6e 65 74 2e | 62 65 72 6b 65 6c 65 79 |@garnet.|berkeley|
|00000e00| 2e 65 64 75 2c 20 42 49 | 54 4e 45 54 3a 20 61 72 |.edu, BI|TNET: ar|
|00000e10| 6f 6e 40 75 63 62 67 61 | 72 6e 65 2e 62 69 74 6e |on@ucbga|rne.bitn|
|00000e20| 65 74 0d 28 20 41 6c 73 | 6f 3a 0d 28 20 43 6f 6d |et.( Als|o:.( Com|
|00000e30| 70 75 53 65 72 76 65 3a | 20 37 33 30 37 35 2c 31 |puServe:| 73075,1|
|00000e40| 33 34 32 2c 20 47 45 6e | 69 65 3a 20 41 52 4f 4e |342, GEn|ie: ARON|
|00000e50| 2c 20 41 6d 65 72 69 63 | 61 20 4f 6e 4c 69 6e 65 |, Americ|a OnLine|
|00000e60| 3a 20 41 52 4f 4e 0d 0d | 28 20 56 65 72 73 69 6f |: ARON..|( Versio|
|00000e70| 6e 20 31 2e 31 2c 20 33 | 20 4d 61 72 63 68 20 31 |n 1.1, 3| March 1|
|00000e80| 39 39 31 2e 0d 28 20 4e | 6f 77 20 77 72 69 74 65 |991..( N|ow write|
|00000e90| 73 20 63 68 61 6e 67 65 | 64 20 73 70 65 61 6b 65 |s change|d speake|
|00000ea0| 72 20 76 6f 6c 75 6d 65 | 20 73 65 74 74 69 6e 67 |r volume| setting|
|00000eb0| 20 74 6f 20 70 61 72 61 | 6d 65 74 65 72 20 52 41 | to para|meter RA|
|00000ec0| 4d 20 28 50 52 41 4d 29 | 2e 0d 0d 28 20 50 72 65 |M (PRAM)|...( Pre|
|00000ed0| 76 69 6f 75 73 20 72 65 | 6c 65 61 73 65 73 3a 0d |vious re|leases:.|
|00000ee0| 28 20 56 65 72 73 69 6f | 6e 20 31 2e 30 2c 20 32 |( Versio|n 1.0, 2|
|00000ef0| 20 4d 61 72 63 68 20 31 | 39 39 31 2e 0d 0d 28 20 | March 1|991...( |
|00000f00| 54 68 61 6e 6b 73 20 74 | 6f 20 44 6f 75 67 20 41 |Thanks t|o Doug A|
|00000f10| 63 6b 65 72 20 61 6e 64 | 20 52 6f 62 65 72 74 20 |cker and| Robert |
|00000f20| 41 2e 20 44 61 6e 69 65 | 6c 20 66 6f 72 20 74 68 |A. Danie|l for th|
|00000f30| 65 20 54 68 69 6e 6b 20 | 50 61 73 63 61 6c 20 52 |e Think |Pascal R|
|00000f40| 43 4d 44 20 73 68 65 6c | 6c 2e 0d 0d 0d 28 20 2d |CMD shel|l....( -|
|00000f50| 2d 2d 2d 2d 0d 0d 28 20 | 54 68 65 20 61 63 74 75 |----..( |The actu|
|00000f60| 61 6c 20 63 6f 6d 6d 61 | 6e 64 73 20 69 6e 20 74 |al comma|nds in t|
|00000f70| 68 69 73 20 70 72 6f 63 | 65 64 75 72 65 20 66 6f |his proc|edure fo|
|00000f80| 6c 6c 6f 77 3a 0d 0d 28 | 20 43 61 6c 6c 20 22 53 |llow:..(| Call "S|
|00000f90| 65 74 53 6f 75 6e 64 56 | 6f 6c 22 2c 20 74 68 65 |etSoundV|ol", the|
|00000fa0| 20 52 43 4d 44 20 63 6f | 64 65 20 72 65 73 6f 75 | RCMD co|de resou|
|00000fb0| 72 63 65 20 63 6f 6e 74 | 61 69 6e 65 64 20 69 6e |rce cont|ained in|
|00000fc0| 0d 28 20 74 68 65 20 72 | 65 73 6f 75 72 63 65 20 |.( the r|esource |
|00000fd0| 66 6f 72 6b 20 6f 66 20 | 74 68 69 73 20 66 69 6c |fork of |this fil|
|00000fe0| 65 2c 20 77 69 74 68 20 | 72 65 73 6f 75 72 63 65 |e, with |resource|
|00000ff0| 20 49 44 20 32 38 30 2e | 0d 52 43 4d 44 20 31 2c | ID 280.|.RCMD 1,|
|00001000| 32 38 30 0d 0d 28 20 45 | 6e 64 20 74 68 65 20 6e |280..( E|nd the n|
|00001010| 65 73 74 65 64 20 70 72 | 6f 63 65 64 75 72 65 2e |ested pr|ocedure.|
|00001020| 0d 4e 45 53 54 45 4e 44 | 00 00 00 00 00 00 00 00 |.NESTEND|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 01 00 00 00 04 80 | 00 00 03 80 00 00 00 3e |........|.......>|
|00001090| 00 00 1d 11 00 00 02 6c | 05 00 00 00 1d 16 00 00 |.......l|........|
|000010a0| 02 6d 05 00 00 00 1d 1c | 00 00 02 6e 05 00 00 00 |.m......|...n....|
|000010b0| 0b 53 65 74 53 6f 75 6e | 64 56 6f 6c 02 00 00 00 |.SetSoun|dVol....|
|000010c0| 50 61 72 74 53 49 54 78 | 00 00 00 00 00 00 00 00 |PartSITx|........|
|000010d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 a9 8d 4f 62 00 00 | 00 00 00 00 04 be 00 00 |....Ob..|........|
|00001100| 1d 44 00 00 02 76 05 00 | 00 00 1d 4a 00 00 02 77 |.D...v..|...J...w|
|00001110| 05 00 00 00 1d 50 00 00 | 02 78 05 00 00 00 1d 54 |.....P..|.x.....T|
|00001120| 00 00 02 79 05 00 00 00 | 1d 58 00 00 02 7a 05 00 |...y....|.X...z..|
|00001130| 00 00 1d 5e 00 00 02 7b | 05 00 00 00 1d 65 00 00 |...^...{|.....e..|
|00001140| 02 7d 05 00 00 00 1d 6b | 00 00 02 cf 05 00 00 00 |.}.....k|........|
|00001150| 1d 6d 00 00 02 cd 05 00 | 00 00 1d 70 00 00 02 7c |.m......|...p...||
|00001160| 05 00 00 00 1d 74 00 00 | 02 7e 05 00 00 00 1d 74 |.....t..|.~.....t|
|00001170| 00 00 02 7e 05 00 00 00 | 1d 74 00 00 02 7e 05 00 |...~....|.t...~..|
|00001180| 00 00 03 7c 60 0e 00 00 | 52 43 4d 44 01 18 00 00 |...|`...|RCMD....|
|00001190| 00 00 00 00 41 fa ff ee | 21 c8 09 ce 60 00 02 a8 |....A...|!...`...|
|000011a0| 22 5f 20 1f a0 4c 2e 80 | 70 00 2f 09 31 c0 02 20 |"_ ..L..|p./.1.. |
|000011b0| 4e 75 70 00 60 f6 22 5f | 20 5f a0 1f 4e fa ff ec |Nup.`."_| _..N...|
|000011c0| 2f 7c 00 00 01 f8 00 04 | 4e 75 41 f8 01 f8 70 ff |/|......|NuA...p.|
|000011d0| a0 38 3f 40 00 04 4e 75 | 4a 78 02 8e 6b 24 20 5f |.8?@..Nu|Jx..k$ _|
|000011e0| 30 1f 2f 08 4e 56 ff e0 | 41 ee ff e0 31 7c ff fc |0./.NV..|A...1|..|
|000011f0| 00 18 31 7c 00 02 00 1a | 31 40 00 1c a2 04 4e 5e |..1|....|1@....N^|
|00001200| 4e 75 20 5f 30 1f 2f 08 | 0c 39 00 ff 00 40 00 09 |Nu _0./.|.9...@..|
|00001210| 67 24 40 e7 00 7c 03 00 | 12 39 00 ef ff fe 02 41 |g$@..|..|.9.....A|
|00001220| 00 f8 02 40 00 07 11 c0 | 02 60 82 40 13 c1 00 ef |...@....|.`.@....|
|00001230| ff fe 46 df 4e 75 02 40 | 00 07 11 c0 02 60 e3 48 |..F.Nu.@|.....`.H|
|00001240| 12 39 00 fc dd 81 02 01 | 00 f1 82 00 13 c1 00 fc |.9......|........|
|00001250| dd 81 4e 75 20 5f 22 5f | 42 19 12 b8 02 60 4e d0 |..Nu _"_|B....`N.|
|00001260| 4e 56 00 00 2f 0c 28 6e | 00 08 59 4f 4e ba ff 52 |NV../.(n|..YON..R|
|00001270| 29 5f ff ec 20 6c ff ec | 39 68 00 10 ff ea 28 5f |)_.. l..|9h....(_|
|00001280| 4e 5e 2e 9f 4e 75 47 45 | 54 50 52 41 4d 20 4e 56 |N^..NuGE|TPRAM NV|
|00001290| ff fc 2f 0c 28 6e 00 08 | 20 6c ff ec 2d 48 ff fc |../.(n..| l..-H..|
|000012a0| 30 2e 00 0c 60 00 01 0c | 2f 2c ff e6 70 05 2f 00 |0...`...|/,..p./.|
|000012b0| a8 5e 2f 2c ff e6 70 06 | 2f 00 a8 5e 2f 2c ff e6 |.^/,..p.|/..^/,..|
|000012c0| 70 07 2f 00 a8 5e 60 00 | 01 0a 2f 2c ff e6 70 05 |p./..^`.|../,..p.|
|000012d0| 2f 00 a8 5e 2f 2c ff e6 | 70 06 2f 00 a8 5e 2f 2c |/..^/,..|p./..^/,|
|000012e0| ff e6 70 07 2f 00 a8 5f | 60 00 00 e8 2f 2c ff e6 |..p./.._|`.../,..|
|000012f0| 70 05 2f 00 a8 5e 2f 2c | ff e6 70 06 2f 00 a8 5f |p./..^/,|..p./.._|
|00001300| 2f 2c ff e6 70 07 2f 00 | a8 5e 60 00 00 c6 2f 2c |/,..p./.|.^`.../,|
|00001310| ff e6 70 05 2f 00 a8 5e | 2f 2c ff e6 70 06 2f 00 |..p./..^|/,..p./.|
|00001320| a8 5f 2f 2c ff e6 70 07 | 2f 00 a8 5f 60 00 00 a4 |._/,..p.|/.._`...|
|00001330| 2f 2c ff e6 70 05 2f 00 | a8 5f 2f 2c ff e6 70 06 |/,..p./.|._/,..p.|
|00001340| 2f 00 a8 5e 2f 2c ff e6 | 70 07 2f 00 a8 5e 60 00 |/..^/,..|p./..^`.|
|00001350| 00 82 2f 2c ff e6 70 05 | 2f 00 a8 5f 2f 2c ff e6 |../,..p.|/.._/,..|
|00001360| 70 06 2f 00 a8 5e 2f 2c | ff e6 70 07 2f 00 a8 5f |p./..^/,|..p./.._|
|00001370| 60 60 2f 2c ff e6 70 05 | 2f 00 a8 5f 2f 2c ff e6 |``/,..p.|/.._/,..|
|00001380| 70 06 2f 00 a8 5f 2f 2c | ff e6 70 07 2f 00 a8 5e |p./.._/,|..p./..^|
|00001390| 60 40 2f 2c ff e6 70 05 | 2f 00 a8 5f 2f 2c ff e6 |`@/,..p.|/.._/,..|
|000013a0| 70 06 2f 00 a8 5f 2f 2c | ff e6 70 07 2f 00 a8 5f |p./.._/,|..p./.._|
|000013b0| 60 20 0c 40 00 08 64 1a | d0 40 30 3b 00 06 4e fb |` .@..d.|.@0;..N.|
|000013c0| 00 02 ff d0 ff b0 ff 90 | ff 6e ff 4c ff 2a ff 08 |........|.n.L.*..|
|000013d0| fe e6 20 6c ff e6 22 6c | ff ec 33 50 00 10 28 5f |.. l.."l|..3P..(_|
|000013e0| 4e 5e 20 5f 5c 4f 4e d0 | 53 45 54 50 52 41 4d 20 |N^ _\ON.|SETPRAM |
|000013f0| 4e 56 ff ee 2f 07 55 4f | 4e ba fd d0 3e 1f 4a 47 |NV../.UO|N...>.JG|
|00001400| 67 06 3d 47 00 0c 60 04 | 42 6e 00 0c 2e 1f 4e 5e |g.=G..`.|Bn....N^|
|00001410| 2e 9f 4e 75 57 52 49 54 | 45 50 52 41 4e 56 00 00 |..NuWRIT|EPRANV..|
|00001420| 2f 0c 28 6e 00 08 2f 2c | ff e6 4e ba fd 8a 2f 2c |/.(n../,|..N.../,|
|00001430| ff ec 4e ba fd 82 28 5f | 4e 5e 2e 9f 4e 75 43 4c |..N...(_|N^..NuCL|
|00001440| 45 41 4e 55 50 20 4e 56 | ff e0 48 e7 03 08 28 6e |EANUP NV|..H...(n|
|00001450| 00 08 20 54 3e 28 03 8a | 48 6e ff e2 4e ba fd f6 |.. T>(..|Hn..N...|
|00001460| be 6e ff e2 66 16 20 54 | 42 a8 02 b8 20 54 30 2e |.n..f. T|B... T0.|
|00001470| ff e2 48 c0 21 40 03 20 | 60 00 00 74 4a 47 5d c0 |..H.!@. |`..tJG].|
|00001480| 0c 47 00 07 5e c1 80 01 | 67 0a 20 54 70 ff 21 40 |.G..^...|g. Tp.!@|
|00001490| 02 b8 60 5a 48 6e ff e2 | 4e ba fd ba 20 54 30 2e |..`ZHn..|N... T0.|
|000014a0| ff e2 48 c0 21 40 03 20 | 3f 07 4e ba fd 2c 48 6e |..H.!@. |?.N..,Hn|
|000014b0| ff e2 4e ba fd a0 be 6e | ff e2 67 0a 20 54 70 ff |..N....n|..g. Tp.|
|000014c0| 21 40 02 b8 60 28 2f 0e | 4e ba fd 96 3f 07 2f 0e |!@..`(/.|N...?./.|
|000014d0| 4e ba fd bc 55 4f 2f 0e | 4e ba ff 16 3c 1f 20 54 |N...UO/.|N...<. T|
|000014e0| 30 06 48 c0 21 40 02 b8 | 2f 0e 4e ba ff 30 4c df |0.H.!@..|/.N..0L.|
|000014f0| 10 c0 4e 5e 2e 9f 4e 75 | 4d 41 49 4e 20 20 20 20 |..N^..Nu|MAIN |
|00001500| 00 00 01 00 00 00 04 80 | 00 00 03 80 00 00 00 3e |........|.......>|
|00001510| 00 2d aa 58 09 8e 00 00 | 00 1c 00 32 00 00 52 43 |.-.X....|...2..RC|
|00001520| 4d 44 00 00 00 0a 01 18 | 00 00 20 00 00 00 00 2e |MD......|.. .....|
|00001530| 8e 78 0b 53 65 74 53 6f | 75 6e 64 56 6f 6c 00 00 |.x.SetSo|undVol..|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+